<div class="form-group">
    <label for="settingnew[webname]" class="col-sm-2 control-label">网站名称</label>
    <div class="col-sm-10">
        <input class="form-control" name="settingnew[webname]" value="{{$setting['webname']}}" placeholder="必填，至少2位" datatype="*2-250" nullmsg="请输入网站名称！">
    </div>
</div>
<div class="form-group">
    <label for="settingnew[description]" class="col-sm-2 control-label">网站描述</label>
    <div class="col-sm-10">
        <textarea class="form-control" name="settingnew[description]" rows="2" >{{$setting['description']}}</textarea>
    </div>
</div>
<div class="form-group">
    <label for="settingnew[email]" class="col-sm-2 control-label">系统邮箱</label>
    <div class="col-sm-10">
        <input class="form-control" name="settingnew[email]" value="{{$setting['email']}}" placeholder="必填，管理员 E-mail，将作为系统发邮件的时候的发件人地址" datatype="e" nullmsg="请输入系统邮箱！" errormsg="请输入合法邮箱">
    </div>
</div>
<div class="form-group">
    <label for="settingnew[icp]" class="col-sm-2 control-label">网站备案信息代码</label>
    <div class="col-sm-10">
        <input class="form-control" name="settingnew[icp]" value="{{$setting['icp']}}" placeholder="页面底部可以显示 ICP 备案信息，如果网站已备案，在此输入您的授权码，它将显示在页面底部，如果没有请留空" />
    </div>
</div>
<div class="form-group">
    <label for="settingnew[statcode]" class="col-sm-2 control-label">网站第三方统计代码</label>
    <div class="col-sm-10">
        <textarea class="form-control" name="settingnew[statcode]" rows="2" >{{$setting['statcode']}}</textarea>
    </div>
</div>

<div class="form-group">
    <label for="settingnew[copyright]" class="col-sm-2 control-label">版权信息</label>
    <div class="col-sm-10">
        <textarea class="form-control" name="settingnew[copyright]" rows="2" ignore="ignore" datatype="*" nullmsg="请输入版权信息！">{{$setting['copyright']}}</textarea>
    </div>
</div>
<div class="form-group">
    <label for="settingnew[default_password]" class="col-sm-2 control-label">重置默认密码</label>
    <div class="col-sm-10">
        <input class="form-control" name="settingnew[default_password]" value="{{$setting['default_password']}}" placeholder="必填，6-20个英文字母、数字或下划线组成的字符" value="123456" datatype="*6-20" nullmsg="请输入重置默认密码！" errormsg="至少6位">
    </div>
</div>

<div class="form-group">
    <label for="settingnew[is_close]" class="col-sm-2 control-label">是否关闭:</label>
    <div class="col-sm-10">
        <label class="radio-inline">
            <input type="radio" name="settingnew[is_close]" {{if $setting['is_close'] == 0}}checked{{/if}} value=0> 否
        </label>
        <label class="radio-inline">
            <input type="radio" name="settingnew[is_close]" {{if $setting['is_close'] == 1}}checked{{/if}} value=1 > 是
        </label>
    </div>
</div>
<div class="form-group js_closeMsg hidden">
    <label for="settingnew[close_msg]" class="col-sm-2 control-label">关闭时信息</label>
    <div class="col-sm-10">
        <textarea class="form-control" name="settingnew[close_msg]" rows="2" datatype="*2-250" ignore="ignore" nullmsg="请输入关闭时提示信息！" errormsg="至少2位">{{$setting['close_msg']}}</textarea>
    </div>
</div>